﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface IRM
    {
        OperationResult<List<tb_RM>> GetAllRM();
        OperationResult<tb_RM> GetRMById(int id);
        OperationResult<List<tb_RM>> GetRMByTypeId(int typeId);
        OperationResult<tb_RM> CreateRM(tb_RM entity);
        OperationResult<tb_RM> ModifyRM(tb_RM entity);
        OperationResult<tb_RM> DeleteRM(tb_RM entity);
    }
}
